package com.xjtu.conan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 柯南角色表
 * </p>
 *
 * @author 一只黑猩猩
 * @since 2021-04-19
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ConanPersonInfo对象", description="柯南角色表")
public class ConanPersonInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "柯南角色id")
    @TableId(value = "cpid", type = IdType.ID_WORKER)
    private Long cpid;

    @ApiModelProperty(value = "角色姓名")
    private String cpName;

    @ApiModelProperty(value = "角色职责")
    private String cpRole;

    @ApiModelProperty(value = "角色介绍")
    private String cpIntro;

    @ApiModelProperty(value = "角色图片url")
    private String imageUrl;

    @ApiModelProperty(value = "角色图片path")
    private String imagePath;

    @ApiModelProperty(value = "角色录入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "角色编辑时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "录入者id")
    private Long userId;


}
